home *** CD-ROM | disk | FTP | other *** search
- -- card: 12500 from stack: in.4
- -- bmap block id: 0
- -- flags: 0000
- -- background id: 2607
- -- name:
-
-
- -- part 1 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=179 top=201 right=223 bottom=323
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Another Type 5 Help
- ----- HyperTalk script -----
- on mouseUp
- ShowDialog 5,4780,50
- end mouseUp
-
- -- 5 is the type
- -- 4780 is the DLOG resource ID
- -- 50 displays PICT resource 1050
- -- 9 would have displayed PICT 1009
- -- 8 would have displayed PICT 1008, etc.
-
- -- The PICT 1050 has no button associated with it and thus will be
- -- shown ONLY when the dialog is initially displayed.
-
-
- -- part 2 (button)
- -- low flags: 00
- -- high flags: A003
- -- rect: left=203 top=246 right=268 bottom=303
- -- title width / last selected line: 0
- -- icon id / first selected line: 0 / 0
- -- text alignment: 1
- -- font id: 0
- -- text size: 12
- -- style flags: 0
- -- line height: 16
- -- part name: Splash Screen
- ----- HyperTalk script -----
- on mouseUp
- lock screen
- unlock screen with zoom out
- ShowDialog 5,4747,40
- end mouseUp
-
- -- 5 is the type
- -- 4747 is the DLOG resource ID
- -- 10 displays PICT resource 1010
- -- 9 would have displayed PICT 1009
- -- 8 would have displayed PICT 1008, etc.
-
-
- -- part contents for background part 2
- ----- text -----
- Variations on Type 5 of ShowDialog XCMD
-
- -- part contents for background part 3
- ----- text -----
- ShowDialog XCMD Type 5 (continued...)
-
- -- part contents for background part 1
- ----- text -----
-
-
- Type 5 of ShowDialog can be used to create some rather flashy dialogs.
-
- The "buttons" that display PICTs need not be buttons at all. They can be "hot spots" that can be placed anywhere on the dialog.
-
- The following two examples are illustrations:
-
-
-
- -- part contents for background part 7
- ----- text -----
- 26